package com.xz.xzmybatisagent.socket;

/**
 * <p>
 *
 * </p>
 *
 * @author DONG.WANG17@HAND-CHINA.COM
 * @since 2025/3/22-03-22 16:10
 */
public class SocketFactory {
    public static SocketEndpoint createServer(SocketConfig config) {
        return new SocketServer(config);
    }

    public static SocketEndpoint createClient(SocketConfig config) {
        return new SocketClient(config);
    }
}